import Vue from 'vue'
import App from './App.vue'
import {get} from './utils/http';

import router from './router/router'

/* elementui */
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI);

/* 定义全局组件 */
import Header from './components/Header'
Vue.component("Header", Header);

Vue.prototype.$get = get;

var qiniu = require('qiniu-js')
Vue.prototype.$qiniu = qiniu;

import md5 from 'js-md5';
import store from './store'
Vue.prototype.$md5 = md5;

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
